/*
 * Copyright (c) 2016,重庆阿莫比科技有限公司,All Rights Reserved.
 */
package com.wowocai.btchina.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <br/>
 * Date: 2016年12月30日 上午11:41:26 <br/>
 * 
 * @Author 刘建成
 * @Version
 */
@Controller
public class ErrorController extends BaseController {

    /**
     * Creates a new instance of IndexController.
     */
    public ErrorController() {

    }

    @RequestMapping(value = "/error/401.html")
    public String auth(ModelMap model) {
        return "error/401";
    }
    
    @RequestMapping(value = "/error/403.html")
    public String forbidden(ModelMap model) {
        return "error/403";
    }
    
    @RequestMapping(value = "/error/404.html")
    public String notfound(ModelMap model) {
        return "error/404";
    }

    @RequestMapping(value = "/error/500.html")
    public String servererror(ModelMap model) {
        return "error/500";
    }

}
